package com.ll.menu.user.food.list;

import android.app.Activity;
import android.view.View;

import com.droid.library.app.emptyview.BaseEmptyViewManager;
import com.droid.library.app.emptyview.CallbackAdapter;
import com.ll.menu.user.R;

/**
 * 食物列表空View管理
 *
 * @author wangheng
 */

public class FoodListEmptyViewManager extends BaseEmptyViewManager<CallbackAdapter> {
    public FoodListEmptyViewManager(CallbackAdapter callback) {
        super(callback);
    }

    @Override
    protected View createNoDataEmptyView(Activity context) {
        View view = getLayoutInflater().inflate(R.layout.empty_food_list_no_data,
                getEmptyView(context), false);
        return view;
    }

    @Override
    protected View createNetWorkErrorEmptyView(Activity context) {
        View view = getLayoutInflater().inflate(R.layout.empty_no_network,
                getEmptyView(context), false);
        return view;
    }

    @Override
    public void onClick(View v) {

    }
}
